GPUInfo

data class GPUInfo(devices: List<GPUDevice>, auxAttributes: JsonElement?, featureStatus: JsonElement?, driverBugWorkarounds: List<String>, videoDecoding: List<VideoDecodeAcceleratorCapability>, videoEncoding: List<VideoEncodeAcceleratorCapability>, imageDecoding: List<ImageDecodeAcceleratorCapability>)

Provides information about the GPU(s) on the system.

Constructors

GPUInfo
Link copied to clipboard
fun GPUInfo(devices: List<GPUDevice>, auxAttributes: JsonElement? = null, featureStatus: JsonElement? = null, driverBugWorkarounds: List<String>, videoDecoding: List<VideoDecodeAcceleratorCapability>, videoEncoding: List<VideoEncodeAcceleratorCapability>, imageDecoding: List<ImageDecodeAcceleratorCapability>)

Properties

auxAttributes
Link copied to clipboard
val auxAttributes: JsonElement? = null
An optional dictionary of additional GPU related attributes.
devices
Link copied to clipboard
val devices: List<GPUDevice>
The graphics devices on the system.
driverBugWorkarounds
Link copied to clipboard
val driverBugWorkarounds: List<String>
An optional array of GPU driver bug workarounds.
featureStatus
Link copied to clipboard
val featureStatus: JsonElement? = null
An optional dictionary of graphics features and their status.
imageDecoding
Link copied to clipboard
val imageDecoding: List<ImageDecodeAcceleratorCapability>
Supported accelerated image decoding capabilities.
videoDecoding
Link copied to clipboard
val videoDecoding: List<VideoDecodeAcceleratorCapability>
Supported accelerated video decoding capabilities.
videoEncoding
Link copied to clipboard
val videoEncoding: List<VideoEncodeAcceleratorCapability>
Supported accelerated video encoding capabilities.

Sources

jvm source
Link copied to clipboard